package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.DividendBean;

/**
* 描述：分红送股数据
* @author: codesmith
**/
@Data
@TableName("dividend")
public class DividendEntity implements DividendBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 分红年度
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`ann_date`") protected LocalDate annDate;

    @TableField("`div_proc`") protected String divProc;

    @TableField("`stk_div`") protected Double stkDiv;

    @TableField("`stk_bo_rate`") protected Double stkBoRate;

    @TableField("`stk_co_rate`") protected Double stkCoRate;

    @TableField("`cash_div`") protected Double cashDiv;

    @TableField("`cash_div_tax`") protected Double cashDivTax;

    @TableField("`record_date`") protected LocalDate recordDate;

    @TableField("`ex_date`") protected LocalDate exDate;

    @TableField("`pay_date`") protected LocalDate payDate;

    @TableField("`div_listdate`") protected String divListdate;

    @TableField("`imp_ann_date`") protected LocalDate impAnnDate;

    @TableField("`base_date`") protected LocalDate baseDate;

    @TableField("`base_share`") protected Double baseShare;
}